package experiment2;

public class Client {//客户程序：调用程序的其他部分用于验证或执行其他操作

	public static void main(String[] args) {
		
		// 由于Chairment的构造方法是私有的，所以无法直接new来创建对象
		//Chairment chairment = new Chairment();

		//
		Chairment chairment1 = Chairment.getInstance();
		System.out.println(chairment1);
		
		Chairment chairment2 = Chairment.getInstance();
		System.out.println(chairment2);
		
		Chairment chairment3 = Chairment.getInstance();
		System.out.println(chairment3);
	}

}
